/**
 * 
 */
package niuke;

import java.util.Scanner;

/**
 * @author zhongfang
 *
 */
public class 等差数列 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int N=scanner.nextInt();
		int[] A=new int[N];
		int sum=0;
		int a1=Integer.MAX_VALUE;//最小值
		int a2=Integer.MAX_VALUE;
		for (int i = 0; i < N; i++) {
			int val=scanner.nextInt();
			sum+=val;
			a1=Math.min(a1, val);
		}
	}

}
